package com.yuda.operationcenter.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 参考资质申请对象 oper_examomatopm_take_qualifications
 *
 * @author wyn
 * @date 2021-04-12
 */
public class OperExamomatopmTakeQualifications extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 外键，引用了sparta_school的主键 */
    @Excel(name = "外键，引用了sparta_school的主键")
    private Long schoolId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 考试的id */
    @Excel(name = "考试的id")
    private String examUuid;

    /** 参考人数 */
    @Excel(name = "参考人数")
    private Long numberExaminees;

    /** 申请时间 */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 申请资质的图片 */
    @Excel(name = "申请资质的图片")
    private String applyQualificationImgsUrl;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId()
    {
        return schoolId;
    }
    public void setContactPerson(String contactPerson)
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson()
    {
        return contactPerson;
    }
    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }
    public void setExamUuid(String examUuid)
    {
        this.examUuid = examUuid;
    }

    public String getExamUuid()
    {
        return examUuid;
    }
    public void setNumberExaminees(Long numberExaminees)
    {
        this.numberExaminees = numberExaminees;
    }

    public Long getNumberExaminees()
    {
        return numberExaminees;
    }
    public void setApplyTime(Date applyTime)
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime()
    {
        return applyTime;
    }
    public void setApplyQualificationImgsUrl(String applyQualificationImgsUrl)
    {
        this.applyQualificationImgsUrl = applyQualificationImgsUrl;
    }

    public String getApplyQualificationImgsUrl()
    {
        return applyQualificationImgsUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .append("examUuid", getExamUuid())
            .append("numberExaminees", getNumberExaminees())
            .append("applyTime", getApplyTime())
            .append("applyQualificationImgsUrl", getApplyQualificationImgsUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
